﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="map">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="messages">
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" name="message">
								<xs:complexType>
									<xs:attribute name="name" type="xs:string" use="required" />
									<xs:attribute name="description" type="xs:string" use="required" />
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="categories">
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" name="category">
								<xs:complexType>
									<xs:sequence>

										<xs:element maxOccurs="unbounded" name="project">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="guidance" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:attribute name="type" type="xs:string" use="required" />
															<xs:attribute name="originator" type="xs:string" use="required" />
															<xs:attribute name="url" type="xs:string" use="required" />
															<xs:attribute name="order" type="xs:unsignedByte" use="required" />
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="name" type="xs:string" use="required" />
												<xs:attribute name="image" type="xs:string" use="required" />
												<xs:attribute name="description" type="xs:string" use="required"/>
												<xs:attribute name="order" type="xs:unsignedByte" use="required"/>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="id" type="xs:unsignedByte" use="required" />
									<xs:attribute name="name" type="xs:string" use="required" />
									<xs:attribute name="image" type="xs:string" use="required" />
									<xs:attribute name="description" type="xs:string" use="required" />
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="news">
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" name="site">
								<xs:complexType>
									<xs:attribute name="url" type="xs:string" use="required" />
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>